<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use Faker\Generator as Faker;
use Modules\Edu\Entities\Lesson;

$factory->define(\Modules\Edu\Entities\Video::class, function (Faker $faker) {
    return [
        'site_id'=>1,
        'lesson_id'=>getModelrandNumber(Lesson::class,'id'),
        'title'=>$faker->words(2,true),
        'path'=>$faker->url,
        'rank'=>$faker->numberBetween(1,100),

    ];
});
